﻿#include <iostream>
#include "CLinkStack.h"
using namespace std;

int main()
{
    string s1 = "[(1+2)-3+4]";
    string s2 = "[(1+2)-3+4}";
    string s3 = "[(1+2)-3+4";

    cout << isBracketsMatch(s1) << endl;
    cout << isBracketsMatch(s2) << endl;
    cout << isBracketsMatch(s3) << endl;
}
